package com.ufinity.estimation.persistence.domain;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * 
 * Description of the class
 * 
 * @author lxt
 * @version 1.0
 * @since 2011-4-7
 */
public class FixedType implements java.io.Serializable {

	/**
	 * serialVersionUID long
	 */
	private static final long serialVersionUID = 66342701953540556L;

	private Long id;

	private Long parentId;

	private String name;

	private String remark;

	private int level;

	private List<FixedType> childList;

	public List<FixedType> getChildList() {
		return childList;
	}

	public void setChildList(List<FixedType> childList) {
		this.childList = childList;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	private Set<MaterialPrice> materialPrices = new HashSet<MaterialPrice>(0);

	private Set<FixedPrice> fixedPrices = new HashSet<FixedPrice>(0);

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<MaterialPrice> getMaterialPrices() {
		return this.materialPrices;
	}

	public void setMaterialPrices(Set<MaterialPrice> materialPrices) {
		this.materialPrices = materialPrices;
	}

	public Set<FixedPrice> getFixedPrices() {
		return fixedPrices;
	}

	public void setFixedPrices(Set<FixedPrice> fixedPrices) {
		this.fixedPrices = fixedPrices;
	}

}
